<!DOCTYPE html>
<html lang="en" xmlns:layout="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>新增接口</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/public.css">
    <script src="../layui/layui.js"></script>
    <script src="../js/base.js" ></script>
    <script src="../js/interface/interfaceAdd.js" ></script>
</head>
<body style="background-color:#F7EED6">
    <div class="layui-container">
    <div class="layui-field-box">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">服务名</label>
                <div class="layui-input-block">
                    <select id="select_service" name="service"  lay-filter="service">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">接口地址</label>
                <div class="layui-input-block">
                    <input id="uri" type="text" name="userId" required  lay-verify="required"  class="layui-input" placeholder="/foo1/foo2" />
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">说明</label>
                <div class="layui-input-block">
                    <input id="memo" type="text" name="userId" required  lay-verify="required"  class="layui-input" placeholder="必要的接口说明" />
                </div>
            </div>
        </form>
    </div>

        <div class="layui-row">
            <div class=" layui-col-md2">
                <button class="layui-btn" onclick="addInterface()">添加</button>
            </div>
        </div>
    </div>
</body>
</html>